//
//  JFScrumCollectionCell.h
//  JobFree2.0
//
//  Created by xxcao on 2017/5/25.
//  Copyright © 2017年 Dale. All rights reserved.
//

#import <UIKit/UIKit.h>

@class JFScrumModel, TeamOperatingView;


typedef NS_ENUM(NSInteger, JFScrumCollectionCellClickType) {
    JFScrumCollectionCellClickTypeTop,
    JFScrumCollectionCellClickTypeDistrub,
    JFScrumCollectionCellClickTypeExit
};

typedef void(^ClickBlock)(JFScrumModel *model, TeamOperatingView *view, JFScrumCollectionCellClickType type);

@interface JFScrumCollectionCell : UICollectionViewCell

@property(nonatomic,weak)IBOutlet UILabel *logoLabel;
@property(nonatomic,weak)IBOutlet UILabel *nameLabel;
@property(nonatomic,weak)IBOutlet UILabel *authorLabel;

@property(nonatomic,weak)IBOutlet UIImageView *leftImgV;
@property(nonatomic,weak)IBOutlet UIImageView *rightImgV;
@property(nonatomic,weak)IBOutlet UIImageView *topImgV;
@property(nonatomic,weak)IBOutlet UIImageView *bottomImgV;

@property(nonatomic,weak)IBOutlet NSLayoutConstraint *bottomConstraint;
@property(nonatomic,weak)IBOutlet NSLayoutConstraint *topConstraint;
@property(nonatomic,weak)IBOutlet NSLayoutConstraint *rightConstraint;
@property(nonatomic,weak)IBOutlet NSLayoutConstraint *leftConstraint;
@property (weak, nonatomic) IBOutlet UIImageView *disturbImg;

@property (weak, nonatomic) IBOutlet UIImageView *topImg;
@property (nonatomic,strong) JFScrumModel *model;
@property (nonatomic,copy) ClickBlock clickBlock;

@end
